package org.opportunity.wishlist.travelwish.pojo.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
@Entity
@Table(name="item_submenu")
public class ItemSubMenu implements Serializable {

    private static final long serialVersionUID = -9213935362602634316L;

    private long id;
    private String propertyName;
    private String propertyDescription;
    private SubMenu subMenu;
       
    public ItemSubMenu() {
    }
    
    @Id
    @GeneratedValue
    @Column(name="id")
    public long getId() {
        return id;
    }
    public void setId(long id) {
        this.id = id;
    }
    
    @Column(name="property_name")
    public String getPropertyName() {
        return propertyName;
    }
    public void setPropertyName(String propertyName) {
        this.propertyName = propertyName;
    }
    
    @Column(name="property_description")
    public String getPropertyDescription() {
        return propertyDescription;
    }
    public void setPropertyDescription(String propertyDescription) {
        this.propertyDescription = propertyDescription;
    }
    
    @ManyToOne
    public SubMenu getSubMenu() {
        return subMenu;
    }
    public void setSubMenu(SubMenu subMenu) {
        this.subMenu = subMenu;
    }
    
}
